package com.bmps.springcloud.insuredmicroservice.service.trial.strategy;

import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.ProductModel;
import com.bmps.springcloud.insuredmicroservice.model.accept.resquest.RequestModel;
import com.bmps.springcloud.insuredmicroservice.model.trail.TrialPersonModel;
import com.bmps.springcloud.insuredmicroservice.service.RedisService;
/**
 * @author lyw
 * @date 2019-07-30 14:39:18
 * */
public interface TrialStrategy {

    /**
     * 获取产品对应的被保人列表
     *
     * @param  requestModel 报文请求对象
     * @param  productModel 产品对象
     * @param  redisService 操作缓存对象
     * @return TrialPersonModel 保费试算信息对象
     */
    TrialPersonModel premiumTrialCalculationPrepare(ProductModel productModel, RequestModel requestModel, RedisService redisService);
}
